export const craeteOrderCode = () => {
  let code = "";
  while (code.length < 12) {
    code += String(Math.floor(Math.random() * 10));
  }
  return code;
};

export const weekLanguageMap = (en: string): string => {
  const weeks = {
    Monday: "周一",
    Tuesday: "周二",
    Wednesday: "周三",
    Thursday: "周四",
    Friday: "周五",
    Saturday: "周六",
    Sunday: "周日",
  };
  return weeks[en as keyof typeof weeks];
};
